<template>
	<view>
		<image :src="img" mode="widthFix"></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				img: ''
			};
		},
		onLoad(options) {
			if(options.img){
				this.img = 'https://img.jinghushi.com/'+options.img;
			}
		}
	}
</script>

<style lang="scss">
image{
	width: 100%;
	display: block;
}
</style>
